package entity;

import java.util.ArrayList;
import java.util.List;

public class ShopCart{
	private List<Goods> list=new ArrayList<Goods>();
	public List<Goods> list(){
		return list;
	}
	public void relete(int id){
		for(int i=0;i<list.size();i++){
			if(list.get(i).getId()==id){
				list.remove(i);
			}
		}
	}
	public void modify(int num){	
	}
}


